import { lazy } from 'react';
import { IRouter } from '../index';
import { LuMousePointerClick } from 'react-icons/lu';

const result: IRouter[] = [
  {
    path: '/useManage',
    meta: {
      title: '使用管理',
      icon: 'useManage', // 使用图片图标
    },
    children: [
      {
        path: 'useStaticIp',
        Component: lazy(() => import('pages/useManage/userStaticIp')),
        meta: {
          title: '用户静态IP',
        },
      },
      {
        path:'/account',
        Component: lazy(() => import('pages/useManage/accunt')),
        meta: {
          title: '账密',
        },
      },
      {
        path:'/whiteList',
        Component: lazy(() => import('pages/useManage/whiteList')),
        meta: {
          title: '白名单',
        },
      },
      {
        path: 'flowExpendStatistics',
        Component: lazy(() => import('pages/useManage/flowExpendStatistics')),
        meta: {
          title: '流量消耗统计',
        },
      },
      {
        path: 'flowExpendStatistics/detail/:id',
        Component: lazy(() => import('pages/useManage/flowExpendStatistics/detail')),
        meta: {
          title: '流量消耗详情',
          hidden: true, // 在菜单中隐藏此路由
        },
      },
      {
        path:'unlimitedExpend',
        Component: lazy(() => import('pages/useManage/unlimitedExpend')),
        meta: {
          title: '不限量消耗统计',
        },
      },
      {
        path: 'unlimitedExpend/detail/:id',
        Component: lazy(() => import('pages/useManage/unlimitedExpend/detail')),
        meta: {
          title: '流量消耗详情',
          hidden: true, // 在菜单中隐藏此路由
        },
      },
    ],
  },
];

export default result;
